// prod-生产 dev-开发 test-测试
const env = "prod"

const uri = {
  friendMsgUrl: 'pages/msg/friendMsg',
  groupMsgUrl: 'pages/msg/groupMsg',
}

const prod = {
  // baseUrl: 'http://175.178.96.156:8001/chat/v1', // 线上环境'
  baseUrl: 'http://172.15.254.12:7001/v2', // 线上环境'
  socketUrl: 'http//172.15.254.12:7001/io',
  ...uri
}
const dev = {
  baseUrl: 'http://localhost:8001/chat/v1', // 生产环境'
  socketUrl: 'ws://localhost:8001/chat/v1/socket',
  ...uri
}
const test = {
  baseUrl: 'http://localhost:8002/chat/v1', // 测试环境'
  socketUrl: 'ws://localhost:8002/chat/v1/socket',
  ...uri
}

const config = {
  dev,
  prod,
  test,
}

export default config[env]
